﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PBOffice.Models;
using PBOffice.DAL;
namespace PBOffice.BLL
{
    public class MyNoteManager
    {
        public List<MyNote> GetAllNote()
        {
            return new MyNoteService().GetAllNote();
        }
        public MyNote GetNoteById(int id)
        {
            return new MyNoteService().GetNoteById(id);
        }
        public void DeleteNote(int id)
        {
            new MyNoteService().DeleteNote(id);
        }
        public void UpdateNote(MyNote note)
        {
            new MyNoteService().UpdateNote(note);
        }
        public void AddNote(MyNote note)
        {
            new MyNoteService().AddNote(note);
        }
    }
}
